<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="/admin/prescript/lookup" method="post">
        <div class="bjui-searchBar">
            <label>名称：</label><input type="text" value="" name="artifactName" size="10" />&nbsp;
            <button type="submit" class="btn btn-primary" data-icon="search">查询</button>&nbsp;
            <a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true" data-icon="undo">清空查询</a>&nbsp;
            <div class="pull-right">
                <#--<input type="checkbox" name="lookupType" value="1" data-toggle="icheck" data-label="追加" checked>-->
                <button type="button" class="btn-blue" data-toggle="lookupback" data-lookupid="ids" data-warn="请至少选择一项职业" data-icon="check-square-o">选择选中</button>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent">
    <table data-toggle="tablefixed" data-width="100%">
        <thead>
        <tr>
            <th data-order-field="id">No.</th>
            <th data-order-field="name">脚本名称</th>
            <th data-order-field="name">存储路径</th>
            <th data-order-field="name">存储名称</th>
            <th class="orderby asc" data-order-field="date">创建日期</th>
            <th width="28"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            <th width="74">操作</th>
        </tr>
        </thead>
        <tbody>
        <#list pageCtx.rows as row>
        <tr id="tr_${(row.id)!}" data-id="${(row.id)!}">
            <#--<td>${(row_index+1)!}</td>-->
            <#--<td title="${(row.name)!}">${(row.name)!}</td>-->
            <#--<td title="${(row.status.label)!}">${(row.status.label)!}</td>-->
            <#--<td title="${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}">${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>-->
            <#--<td>-->
                <#--<a href="${wwwroot}/admin/job/run?id=${(row.id)!}" class="btn btn-default" data-toggle="doajax">运行</a>-->
                <#--<a href="${wwwroot}/admin/job/edit?id=${(row.id)!}" class="btn btn-blue" data-toggle="navtab" data-id="form" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="编辑">编辑</a>-->
                <#--<a href="${wwwroot}/admin/job/delete?ids=${(row.id)!}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a>-->
            <#--</td>-->

                <td>${(row_index+1)!}</td>
                <td title="${(row.artifactName)!}">${(row.artifactName)!}</td>
                <td title="${(row.storePath)!}">${(row.storePath)!}</td>
                <td title="${(row.storeName)!}">${(row.storeName)!}</td>
                <td title="${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}">${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
                <td><input type="checkbox" name="ids" data-toggle="icheck" value="{id:'${(row.id)!}', name:'${(row.artifactName)!}'}"></td>
                <td>
                    <a href="javascript:;" data-toggle="lookupback" data-args="{id:'${(row.id)!}', name:'${(row.artifactName)!}'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
                </td>
        </tr>
        </#list>
        </tbody>
    </table>
</div>
<@p.pagination pageCtx=pageCtx pageParam=pageParam/>
